package com.brillilab.domain.po.inventory;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author wuzhiyu
 * @Title: ReagentInventory
 * @ProjectName brill_lab
 * @Description: 试剂库存表
 * @date 2018/11/617:17
 */
@Data
@TableName("reagent_inventory")
public class ReagentInventory implements Serializable {
    //inventory id
    @TableId(type = IdType.AUTO)
    private Long id;
    //实验室id
    private Long labId;
    //房间id
    private Long roomId;
    //房间名
    private String roomName;
    //设备id
    private Long deviceId;
    //设备序号
    private Integer deviceIndex;
    //平面id
    private Long panelId;
    //平面名
    private String panelName;
    //平面存放试剂组合id  kitboxid和boxid只有一种
    private Long kitBoxId;
    //平面存放试剂组合名
    private String kitBoxName;
    //试剂盒id kitboxid和boxid只有一种
    private Long boxId;
    //试剂盒颜色  boxId有值时才有值
    private Integer boxColor;
    //试剂盒格子id boxId有值时才有值
    private Long boxGridId;
    //格子行号  eg:A  boxId有值时才有值
    private String gridRow;
    //格子列号  boxId有值时才有值
    private Integer gridColumn;
    //kit id
    private Long kitId;
    //单成分或是多成分 0-单成分，1-多成分
    private Integer kitType;
    //1-试剂，2-样品*
    private Integer classify;
    //试剂规格id
    private Long kitSpecId;
    //试剂id
    private Long reagentId;
    //试剂名
    private String reagentName;
    //试剂单位id
    private Integer unit;
    //温区值
    private Integer zone;
    private Long reagentTypeId;
    //可用量
    private BigDecimal amount;
    //冻结量
    private BigDecimal frozenAmount;
    //同一次入库的组id
    private Long groupId;
    //试剂所有者LabMemberId   null=公共
    private Long labMemberId;
    //批次号
    private String batchNumber;
    //生产日期
    private Date produceDate;
    //过期日期
    private Date expireDate;
    //是否删除0正常1删除
    private Integer isDelete;
    //该库存状态 0可用1使用中
    private Integer inUse;
    //创建人LabMemberId
    private Long creatorId;
    //试剂盒格子库存组合id
    private Long posCombId;
    private Date createTime;
    private Date updateTime;
}
